<script src="__PUBLIC__/hytn/js/jquery-1.9.1.min.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>
<script src="__PUBLIC__/hytn/js/jquery.form.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/shop.js"></script>
<link rel="stylesheet" href="__PUBLIC__/css/c.css" />
<link rel="stylesheet" href="__PUBLIC__/css/footer.css">
<style>
    .jumpPage{background: #e8e8e8;}
</style>
<div class="r-wrap">
    <div class="header_manage agent-header" style="border-bottom: 2px solid #013ca6;">
        <div class="header_wrap_manage">
            <img id="subLogo" src="" style=" display:none;" alt="">
            <h2 id="headerTip" data-hasqtip="0" aria-describedby="qtip-0">三鑫照明</h2><span class="h2-spec">订货系统</span>
            <ul class="options">
                <li class="index">
                    <a href="{:U('index')}">
                        首页
                        <span code="WBO_SHOPPINGCART" class="menu1 new-con-p"></span>
                    </a>
                </li>
                <!--购物车-->
                <li class="cart {$shop_cart}">
                    <if condition="session('user_id') eq null">
                        <a href="{:U('login')}">
                            购物车
                            <span code="WBO_SHOPPINGCART" class="menu1 new-con-p"></span>
                        </a>
                        <else/>
                        <a href="{:U('shop_cart')}">
                            购物车<span class="shoppingcartNum lite-red"  id="shop" style="background: #e05a50;border-radius: 20px;padding: 1px 5px;color: #fff !important;margin-left: 5px;">{$cart_num}</span>
                            <span code="WBO_SHOPPINGCART" class="menu1 new-con-p"></span>
                        </a>
                    </if>
                </li>

                <if condition="session('user_id') eq null">
                    <li class="info" onclick="location.href='login.html'">
                        <span class="bindMobile"></span><span class="userName">我的订单</span>
                    </li>
                    <li class="user" onclick="location.href='login.html'">
                        <span class="bindMobile"></span><span class="userName">登录</span>
                    </li>

                    <li class="user" onclick='location.href="zhuce.html"'>
                        <span class="bindMobile"></span><span class="userName">注册</span>
                    </li>
                    <else/>
                    <li class="info {$shop_order}" onclick="location.href='{:U(shop_order)}'">
                        <span class="bindMobile"></span><span class="userName">我的订单</span>
                    </li>
                    <!--当前用户名字-->
                    <li class="user" >
                        <span class="bindMobile" ></span><span class="userName">{:session('user_name')}
                            <if condition="session('user_vip') eq 1"><b style="color:#013ca6;font-style: italic;font-weight:bold;position:absolute;">VIP</b></if>
                        </span>
                        <ul class="container"><li><a code="WBO_SETTING_RECEIPT" class="menu2" href="{:U('login_out')}">退出登录</a></li></ul>
                    </li>
                    <if condition="session('user_type') eq 2">
                        <li class="info">
                            <a href="shop_qiang.html">
                                <span class="bindMobile"></span><span class="userName">电工抢单</span>
                            </a>
                        </li>
                        <elseif  condition="(session('user_type') eq 1) AND (session('user_real_name') eq '')"/>
                        <!-- 如果为普通用户并且尚未注册过显示如下 -->
                        <li class="info">
                            <a href="{:U('yuangongziliao')}">
                                <span class="bindMobile"></span><span class="userName">电工注册</span>
                            </a>
                        </li>
                    </if>
                    <!--个人中心-->
                    <if condition="session('user_id') neq ''">
                        <li class="info {$basic_information}">
                            <a href="{:U('basic_information')}">
                                <span class="bindMobile"></span><span class="userName">个人中心</span>
                            </a>
                        </li>
                    </if>
                </if>
            </ul>
            <div class="cb"></div>
        </div>
    </div>
</div>